<?php

namespace Home\Controller;
use Think\Controller;

header('content-type:text/html;charset=utf-8');
class ApiController extends Controller{
	
	public function getPk10(){
		$url="http://api.abclily.com/Home/Index/getPk10?t=".time();
		$data = curlGet($url);
		echo $data;
	}
	
	public function getXyft(){
		$url="http://api.abclily.com/Home/Index/getXyft?t=".time();
		$data = curlGet($url);
		echo $data;
	}
	
	public function test(){
		$beginToday=$endToday=strtotime("01:00:00")+86400;
		$endToday=strtotime('23:59:00');
		print_r(date('Y-m-d H:i:s',$beginToday));die();
	}
	
}



?>